from ftllibs.items.itemtools import ItemIconData

class Item_3115():
    def __init__(self):
        self.parent=False
        self.Name="Nashor's Tooth"
        self.IconFileName="3115.png"
        self.ID=3115
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3101','1042','1042','3108','1005','1052']
        self.Builds_Into=[]
        self.Tags=['attack_speed','spell_damage','mana_regen','cooldown_reduction']
        self.Costs = 400
        self.Total_Costs = 2615
        self.Description="+50% Attack Speed +65 Ability Power +10 Mana Regen per 5 seconds  UNIQUE Passive: +25% Cooldown Reduction"
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Speed_Percentage += 50.0
        # above is %
        self.parent.Ability_Power += 65.0
        self.parent.Mana_Regen_per_5_seconds += 10.0
        self.parent.Cooldown_Reduction += 25.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


